package com.jinmdz.fmis.api.api.model.area;

import com.jinmdz.fmis.core.model.OptionItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;

/**
 * 行政区划选项
 *
 * @author LiCongLu
 * @date 2020-01-19 09:57
 */
@ApiModel(value = "行政区划选项", description = "行政区划选项")
public class AreaOptionItem extends OptionItem {
    /**
     * 子行政区划
     */
    @ApiModelProperty(value = "子行政区划", name = "children", position = 1)
    private ArrayList<AreaOptionItem> children;


    public ArrayList<AreaOptionItem> getChildren() {
        return children;
    }

    public AreaOptionItem setChildren(ArrayList<AreaOptionItem> children) {
        this.children = children;
        return this;
    }
}
